namespace FatHibernation.DataInterface
{
    public interface IDataSessionHandler
    {

        void OpenSession();
        void CloseSession();
        bool IsSessionOpen { get; }

        void BeginWriteTransaction();
        void BeginReadTransaction();
        void CommitCurrentTransaction();
        bool IsTransactionActive { get; }
        void RollbackCurrentTransaction();

        void CreateDatabase();
    }
}